Mobile terminal and method for controlling the same

ABSTRACT

Disclosed is a mobile terminal, by which an image can be easily attached. In particular, the present invention includes a 1 st  camera, a touchscreen, and a controller controlling the touchscreen to output a running screen of a prescribed application and a preview screen of the 1 st  camera to a 1 st  region and a 2 nd  region on the touchscreen, respectively, the controller, if a photograph command is received, attaching an image data photographed through the 1 st  camera to the prescribed application, wherein a data size of the attached image data is based on a size of the 2 nd  region.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.14/648,169 filed on May 28, 2015, now U.S. Pat. No. 9,621,792, which isa National Stage filing under 35 U.S.C. 371 of International ApplicationNo. PCT/KR2015/000962, filed on Jan. 29, 2015, which claims the benefitof earlier filing date and right of priority to Korean Application No.10-2014-0057095, filed on May 13, 2014, the contents of which are allhereby incorporated by reference herein in their entirety.

TECHNICAL FIELD

The present invention relates to a mobile terminal, and moreparticularly, to a mobile terminal and controlling method thereof.Although the present invention is suitable for a wide scope ofapplications, it is particularly suitable for facilitating the use of aterminal in further consideration of user's convenience.

BACKGROUND ART

Generally, terminals can be classified into mobile/portable terminalsand stationary terminals. The mobile terminals can be further classifiedinto handheld terminals and vehicle mount terminals according topossibility of user's direct portability.

A mobile terminal is a device which may be configured to perform variousfunctions. Examples of such functions include data and voicecommunications, capturing images and video via a camera, recordingaudio, playing music files and outputting music via a speaker system,and displaying images and video on a display. Some terminals includeadditional functionality which supports game playing, while otherterminals are also configured as multimedia players. More recently,mobile terminals have been configured to receive broadcast and multicastsignals which permit viewing of contents, such as videos and televisionprograms.

Generally, terminals can be classified into mobile terminals andstationary terminals according to a presence or non-presence ofmobility. And, the mobile terminals can be further classified intohandheld terminals and vehicle mount terminals according to availabilityfor hand-carry.

There are ongoing efforts to support and increase the functionality ofmobile terminals. Such efforts include software and hardwareimprovements, as well as changes and improvements in the structuralcomponents which form the mobile terminal.

Recently, as many mobile terminals are released as smartphones, anonline community of a new type called SNS (social network service) isestablished. Users of the online community perform social intercourseand information sharing through mutual exchange of various multimediacontents as well as exchange of simple text data. A multimedia contentdesired to be changed may include a previously saved content or acontent instantly photographed through a camera provided to a mobileterminal. Thus, in forming a content instantly using a camera and thentransmitting the formed content, the demand for a convenience-enhancedcontrol method is rising.

DISCLOSURE OF THE INVENTION Technical Task

Accordingly, the present invention is directed to a mobile terminal andcontrolling method thereof that substantially obviate one or moreproblems due to limitations and disadvantages of the related art. And,the technical task of the present invention is to provide a mobileterminal and controlling method thereof, by which a size of instantlyphotographed image data can be easily controlled.

Technical Solutions

In one technical aspect of the present invention, provided herein is amobile terminal, including a 1^(st) camera,

a touchscreen, and a controller controlling the touchscreen to output arunning screen of a prescribed application and a preview screen of the1^(st) camera to a 1^(st) region and a 2^(nd) region on the touchscreen,respectively, the controller, if a photograph command is received,attaching an image data photographed through the 1^(st) camera to theprescribed application, wherein a data size of the attached image datais based on a size of the 2^(nd) region.

In another technical aspect of the present invention, provided herein isa method of controlling a mobile terminal, including the steps ofcontrolling a touchscreen to output a running screen of a prescribedapplication and a preview screen of a 1^(st) camera to a 1^(st) regionand a 2^(nd) region on the touchscreen, respectively and if a photographcommand is received, attaching an image data photographed through the1^(st) camera to the prescribed application, wherein a data size of theattached image data is based on a size of the 2^(nd) region.

Advantageous Effects

Accordingly, a mobile terminal and controlling method thereof accordingto the present invention provide the following effects and/or features.

According to at least one of embodiments of the present invention, amultimedia content can be transmitted easily.

According to at least one of embodiments of the present invention, if atransmitted multimedia content is an image instantly photographedthrough a camera, a size of a photographed image data can be easilycontrolled.

The additional scope of applicability of the present invention canbecome obvious from the detailed description in the following. Yet,since it will be apparent to those skilled in the art that variousmodifications and variations can be made therein without departing fromthe spirit and scope of the invention, the detailed description and aspecific embodiment such as a preferred embodiment of the presentinvention should be understood as taken as one example only.

DESCRIPTION OF DRAWINGS

The present invention will become more fully understood from thedetailed description given herein below and the accompanying drawings,which are given by illustration only, and thus are not limitative of thepresent invention, and wherein: FIG. 1A is a block diagram of a mobileterminal in accordance with the present disclosure.

FIGS. 1B and 1C are conceptual views of one example of the mobileterminal, viewed from different directions;

FIG. 2 is a flowchart for a control method of easily attaching an imagedata photographed through a camera according to one embodiment of thepresent invention;

FIG. 3 is a diagram of a configuration for a control method of easilyattaching an image data photographed through a camera according to oneembodiment of the present invention;

FIG. 4 and FIG. 5 are diagrams for examples of a user command foroutputting a camera preview popup window 303 according to one embodimentof the present invention;

FIGS. 6 to 9 are diagrams for a method of controlling a preview popupwindow 303 according to one embodiment of the present invention;

FIG. 10 is a diagram for a control method of performing an auto-cropoperation based on a location and/or size of a preview popup window 303according to one embodiment of the present invention; and

FIG. 11 is a diagram for a control method of sorting and keeping imagedata attached to a prescribed application in a separate folder accordingto one embodiment of the present invention.

BEST MODE FOR INVENTION

Description will now be given in detail according to exemplaryembodiments disclosed herein, with reference to the accompanyingdrawings. For the sake of brief description with reference to thedrawings, the same or equivalent components may be provided with thesame reference numbers, and description thereof will not be repeated. Ingeneral, a suffix such as “module” and “unit” may be used to refer toelements or components. Use of such a suffix herein is merely intendedto facilitate description of the specification, and the suffix itself isnot intended to give any special meaning or function. In the presentdisclosure, that which is well-known to one of ordinary skill in therelevant art has generally been omitted for the sake of brevity. Theaccompanying drawings are used to help easily understand varioustechnical features and it should be understood that the embodimentspresented herein are not limited by the accompanying drawings. As such,the present disclosure should be construed to extend to any alterations,equivalents and substitutes in addition to those which are particularlyset out in the accompanying drawings.

It will be understood that although the terms first, second, etc. may beused herein to describe various elements, these elements should not belimited by these terms. These terms are generally only used todistinguish one element from another.

It will be understood that when an element is referred to as being“connected with” another element, the element can be connected with theother element or intervening elements may also be present. In contrast,when an element is referred to as being “directly connected with”another element, there are no intervening elements present.

A singular representation may include a plural representation unless itrepresents a definitely different meaning from the context.

Terms such as “include” or “has” are used herein and should beunderstood that they are intended to indicate an existence of severalcomponents, functions or steps, disclosed in the specification, and itis also understood that greater or fewer components, functions, or stepsmay likewise be utilized.

Mobile terminals presented herein may be implemented using a variety ofdifferent types of terminals. Examples of such terminals includecellular phones, smart phones, user equipment, laptop computers, digitalbroadcast terminals, personal digital assistants (PDAs), portablemultimedia players (PMPs), navigators, portable computers (PCs), slatePCs, tablet PCs, ultra books, wearable devices (for example, smartwatches, smart glasses, head mounted displays (HMDs)), and the like.

By way of non-limiting example only, further description will be madewith reference to particular types of mobile terminals. However, suchteachings apply equally to other types of terminals, such as those typesnoted above. In addition, these teachings may also be applied tostationary terminals such as digital TV, desktop computers, and thelike.

Reference is now made to FIGS. 1A-1C, where FIG. 1A is a block diagramof a mobile terminal in accordance with the present disclosure, andFIGS. 1B and 1C are conceptual views of one example of the mobileterminal, viewed from different directions.

The mobile terminal 100 is shown having components such as a wirelesscommunication unit 110, an input unit 120, a sensing unit 140, an outputunit 150, an interface unit 160, a memory 170, a controller 180, and apower supply unit 190. It is understood that implementing all of theillustrated components is not a requirement, and that greater or fewercomponents may alternatively be implemented.

For instance, the wireless communication unit 110 typically includes oneor more components which permit wireless communication between themobile terminal 100 and a wireless communication system or networkwithin which the mobile terminal is located. Further, the wirelesscommunication unit 110 typically includes one or more modules whichconnect the mobile terminal 100 to one or more networks.

To facilitate such communications, the wireless communication unit 110includes one or more of a broadcast receiving module 111, a mobilecommunication module 112, a wireless Internet module 113, a short-rangecommunication module 114, and a location information module 115.

The input unit 120 includes a camera 121 for obtaining images or video,a microphone 122, which is one type of audio input device for inputtingan audio signal, and a user input unit 123 (for example, a touch key, apush key, a mechanical key, a soft key, and the like) for allowing auser to input information. Data (for example, audio, video, image, andthe like) is obtained by the input unit 120 and may be analyzed andprocessed by controller 180 according to device parameters, usercommands, and combinations thereof.

The sensing unit 140 is typically implemented using one or more sensorsconfigured to sense internal information of the mobile terminal, thesurrounding environment of the mobile terminal, user information, andthe like. For example, in FIG. 1A, the sensing unit 140 is shown havinga proximity sensor 141 and an illumination sensor 142. If desired, thesensing unit 140 may alternatively or additionally include other typesof sensors or devices, such as a touch sensor, an acceleration sensor, amagnetic sensor, a G-sensor, a gyroscope sensor, a motion sensor, an RGBsensor, an infrared (IR) sensor, a finger scan sensor, a ultrasonicsensor, an optical sensor (for example, camera 121), a microphone 122, abattery gauge, an environment sensor (for example, a barometer, ahygrometer, a thermometer, a radiation detection sensor, a thermalsensor, and a gas sensor, among others), and a chemical sensor (forexample, an electronic nose, a health care sensor, a biometric sensor,and the like), to name a few. The mobile terminal 100 may be configuredto utilize information obtained from sensing unit 140, and inparticular, information obtained from one or more sensors of the sensingunit 140, and combinations thereof.

The output unit 150 is typically configured to output various types ofinformation, such as audio, video, tactile output, and the like. Theoutput unit 150 is shown having a display unit 151, an audio outputmodule 152, a haptic module 153, and an optical output module 154. Thedisplay unit 151 may have an inter-layered structure or an integratedstructure with a touch sensor in order to facilitate a touch screen. Thetouch screen may provide an output interface between the mobile terminal100 and a user, as well as function as the user input unit 123 whichprovides an input interface between the mobile terminal 100 and theuser.

The interface unit 160 serves as an interface with various types ofexternal devices that can be coupled to the mobile terminal 100. Theinterface unit 160, for example, may include any of wired or wirelessports, external power supply ports, wired or wireless data ports, memorycard ports, ports for connecting a device having an identificationmodule, audio input/output (I/O) ports, video I/O ports, earphone ports,and the like. In some cases, the mobile terminal 100 may performassorted control functions associated with a connected external device,in response to the external device being connected to the interface unit160.

The memory 170 is typically implemented to store data to support variousfunctions or features of the mobile terminal 100. For instance, thememory 170 may be configured to store application programs executed inthe mobile terminal 100, data or instructions for operations of themobile terminal 100, and the like. Some of these application programsmay be downloaded from an external server via wireless communication.Other application programs may be installed within the mobile terminal100 at time of manufacturing or shipping, which is typically the casefor basic functions of the mobile terminal 100 (for example, receiving acall, placing a call, receiving a message, sending a message, and thelike). It is common for application programs to be stored in the memory170, installed in the mobile terminal 100, and executed by thecontroller 180 to perform an operation (or function) for the mobileterminal 100.

The controller 180 typically functions to control overall operation ofthe mobile terminal 100, in addition to the operations associated withthe application programs.

As one example, the controller 180 controls some or all of thecomponents illustrated in FIG. 1A according to the execution of anapplication program that have been stored in the memory 170.

The power supply unit 190 can be configured to receive external power orprovide internal power in order to supply appropriate power required foroperating elements and components included in the mobile terminal 100.The power supply unit 190 may include a battery, and the battery may beconfigured to be embedded in the terminal body, or configured to bedetachable from the terminal body.

The controller 180 may provide or process information or functionsappropriate for a user by processing signals, data, information and thelike, which are input or output by the various components depicted inFIG. 1A, or activating application programs stored in the memory 170.

Referring still to FIG. 1A, various components depicted in this figurewill now be described in more detail.

Regarding the wireless communication unit 110, the broadcast receivingmodule 111 is typically configured to receive a broadcast signal and/orbroadcast associated information from an external broadcast managingentity via a broadcast channel. The broadcast channel may include asatellite channel, a terrestrial channel, or both. In some embodiments,two or more broadcast receiving modules 111 may be utilized tofacilitate simultaneously receiving of two or more broadcast channels,or to support switching among broadcast channels.

The mobile communication module 112 can transmit and/or receive wirelesssignals to and from one or more network entities. Typical examples of anetwork entity include a base station, an external mobile terminal, aserver, and the like. Such network entities form part of a mobilecommunication network, which is constructed according to technicalstandards or communication methods for mobile communications (forexample, Global System for Mobile Communication (GSM), Code DivisionMulti Access (CDMA), CDMA2000 (Code Division Multi Access 2000), EV-DO(Enhanced Voice-Data Optimized or Enhanced Voice-Data Only), WidebandCDMA (WCDMA), High Speed Downlink Packet access (HSDPA), HSUPA (HighSpeed Uplink Packet Access), Long Term Evolution (LTE), LTE-A (Long TermEvolution-Advanced), and the like).

Examples of wireless signals transmitted and/or received via the mobilecommunication module 112 include audio call signals, video (telephony)call signals, or various formats of data to support communication oftext and multimedia messages.

The wireless Internet module 113 is configured to facilitate wirelessInternet access. This module may be internally or externally coupled tothe mobile terminal 100. The wireless Internet module 113 may transmitand/or receive wireless signals via communication networks according towireless Internet technologies.

Examples of such wireless Internet access include Wireless LAN (WLAN),Wireless Fidelity (Wi-Fi), Wi-Fi Direct, Digital Living Network Alliance(DLNA), Wireless Broadband (WiBro), Worldwide Interoperability forMicrowave Access (WiMAX), High Speed Downlink Packet Access (HSDPA),HSUPA (High Speed Uplink Packet Access), Long Term Evolution (LTE),LTE-A (Long Term Evolution-Advanced), and the like. The wirelessInternet module 113 may transmit/receive data according to one or moreof such wireless Internet technologies, and other Internet technologiesas well.

In some embodiments, when the wireless Internet access is implementedaccording to, for example, WiBro, HSDPA, HSUPA, GSM, CDMA, WCDMA, LTE,LTE-A and the like, as part of a mobile communication network, thewireless Internet module 113 performs such wireless Internet access. Assuch, the Internet module 113 may cooperate with, or function as, themobile communication module 112.

The short-range communication module 114 is configured to facilitateshort-range communications. Suitable technologies for implementing suchshort-range communications include BLUETOOTH™, Radio FrequencyIDentification (RFID), Infrared Data Association (IrDA), Ultra-WideBand(UWB), ZigBee, Near Field Communication (NFC), Wireless-Fidelity(Wi-Fi), Wi-Fi Direct, Wireless USB (Wireless Universal Serial Bus), andthe like. The short-range communication module 114 in general supportswireless communications between the mobile terminal 100 and a wirelesscommunication system, communications between the mobile terminal 100 andanother mobile terminal 100, or communications between the mobileterminal and a network where another mobile terminal 100 (or an externalserver) is located, via wireless area networks. One example of thewireless area networks is a wireless personal area networks.

In some embodiments, another mobile terminal (which may be configuredsimilarly to mobile terminal 100) may be a wearable device, for example,a smart watch, a smart glass or a head mounted display (HMD), which isable to exchange data with the mobile terminal 100 (or otherwisecooperate with the mobile terminal 100). The short-range communicationmodule 114 may sense or recognize the wearable device, and permitcommunication between the wearable device and the mobile terminal 100.In addition, when the sensed wearable device is a device which isauthenticated to communicate with the mobile terminal 100, thecontroller 180, for example, may cause transmission of data processed inthe mobile terminal 100 to the wearable device via the short-rangecommunication module 114. Hence, a user of the wearable device may usethe data processed in the mobile terminal 100 on the wearable device.For example, when a call is received in the mobile terminal 100, theuser may answer the call using the wearable device. Also, when a messageis received in the mobile terminal 100, the user can check the receivedmessage using the wearable device.

The location information module 115 is generally configured to detect,calculate, derive or otherwise identify a position of the mobileterminal. As an example, the location information module 115 includes aGlobal Position System (GPS) module, a Wi-Fi module, or both. Ifdesired, the location information module 115 may alternatively oradditionally function with any of the other modules of the wirelesscommunication unit 110 to obtain data related to the position of themobile terminal. As one example, when the mobile terminal uses a GPSmodule, a position of the mobile terminal may be acquired using a signalsent from a GPS satellite. As another example, when the mobile terminaluses the Wi-Fi module, a position of the mobile terminal can be acquiredbased on information related to a wireless access point (AP) whichtransmits or receives a wireless signal to or from the Wi-Fi module.

The input unit 120 may be configured to permit various types of input tothe mobile terminal 120. Examples of such input include audio, image,video, data, and user input. Image and video input is often obtainedusing one or more cameras 121. Such cameras 121 may process image framesof still pictures or video obtained by image sensors in a video or imagecapture mode. The processed image frames can be displayed on the displayunit 151 or stored in memory 170. In some cases, the cameras 121 may bearranged in a matrix configuration to permit a plurality of imageshaving various angles or focal points to be input to the mobile terminal100. As another example, the cameras 121 may be located in astereoscopic arrangement to acquire left and right images forimplementing a stereoscopic image.

The microphone 122 is generally implemented to permit audio input to themobile terminal 100. The audio input can be processed in various mannersaccording to a function being executed in the mobile terminal 100. Ifdesired, the microphone 122 may include assorted noise removingalgorithms to remove unwanted noise generated in the course of receivingthe external audio.

The user input unit 123 is a component that permits input by a user.Such user input may enable the controller 180 to control operation ofthe mobile terminal 100. The user input unit 123 may include one or moreof a mechanical input element (for example, a key, a button located on afront and/or rear surface or a side surface of the mobile terminal 100,a dome switch, a jog wheel, a jog switch, and the like), or atouch-sensitive input, among others. As one example, the touch-sensitiveinput may be a virtual key or a soft key, which is displayed on a touchscreen through software processing, or a touch key which is located onthe mobile terminal at a location that is other than the touch screen.On the other hand, the virtual key or the visual key may be displayed onthe touch screen in various shapes, for example, graphic, text, icon,video, or a combination thereof.

The sensing unit 140 is generally configured to sense one or more ofinternal information of the mobile terminal, surrounding environmentinformation of the mobile terminal, user information, or the like. Thecontroller 180 generally cooperates with the sending unit 140 to controloperation of the mobile terminal 100 or execute data processing, afunction or an operation associated with an application programinstalled in the mobile terminal based on the sensing provided by thesensing unit 140. The sensing unit 140 may be implemented using any of avariety of sensors, some of which will now be described in more detail.

The proximity sensor 141 may include a sensor to sense presence orabsence of an object approaching a surface, or an object located near asurface, by using an electromagnetic field, infrared rays, or the likewithout a mechanical contact. The proximity sensor 141 may be arrangedat an inner region of the mobile terminal covered by the touch screen,or near the touch screen.

The proximity sensor 141, for example, may include any of a transmissivetype photoelectric sensor, a direct reflective type photoelectricsensor, a mirror reflective type photoelectric sensor, a high-frequencyoscillation proximity sensor, a capacitance type proximity sensor, amagnetic type proximity sensor, an infrared rays proximity sensor, andthe like. When the touch screen is implemented as a capacitance type,the proximity sensor 141 can sense proximity of a pointer relative tothe touch screen by changes of an electromagnetic field, which isresponsive to an approach of an object with conductivity. In this case,the touch screen (touch sensor) may also be categorized as a proximitysensor.

The term “proximity touch” will often be referred to herein to denotethe scenario in which a pointer is positioned to be proximate to thetouch screen without contacting the touch screen. The term “contacttouch” will often be referred to herein to denote the scenario in whicha pointer makes physical contact with the touch screen. For the positioncorresponding to the proximity touch of the pointer relative to thetouch screen, such position will correspond to a position where thepointer is perpendicular to the touch screen. The proximity sensor 141may sense proximity touch, and proximity touch patterns (for example,distance, direction, speed, time, position, moving status, and thelike). In general, controller 180 processes data corresponding toproximity touches and proximity touch patterns sensed by the proximitysensor 141, and cause output of visual information on the touch screen.In addition, the controller 180 can control the mobile terminal 100 toexecute different operations or process different data according towhether a touch with respect to a point on the touch screen is either aproximity touch or a contact touch.

A touch sensor can sense a touch applied to the touch screen, such asdisplay unit 151, using any of a variety of touch methods. Examples ofsuch touch methods include a resistive type, a capacitive type, aninfrared type, and a magnetic field type, among others.

As one example, the touch sensor may be configured to convert changes ofpressure applied to a specific part of the display unit 151, or convertcapacitance occurring at a specific part of the display unit 151, intoelectric input signals. The touch sensor may also be configured to sensenot only a touched position and a touched area, but also touch pressureand/or touch capacitance. A touch object is generally used to apply atouch input to the touch sensor. Examples of typical touch objectsinclude a finger, a touch pen, a stylus pen, a pointer, or the like.

When a touch input is sensed by a touch sensor, corresponding signalsmay be transmitted to a touch controller. The touch controller mayprocess the received signals, and then transmit corresponding data tothe controller 180. Accordingly, the controller 180 may sense whichregion of the display unit 151 has been touched. Here, the touchcontroller may be a component separate from the controller 180, thecontroller 180, and combinations thereof.

In some embodiments, the controller 180 may execute the same ordifferent controls according to a type of touch object that touches thetouch screen or a touch key provided in addition to the touch screen.Whether to execute the same or different control according to the objectwhich provides a touch input may be decided based on a current operatingstate of the mobile terminal 100 or a currently executed applicationprogram, for example.

The touch sensor and the proximity sensor may be implementedindividually, or in combination, to sense various types of touches. Suchtouches includes a short (or tap) touch, a long touch, a multi-touch, adrag touch, a flick touch, a pinch-in touch, a pinch-out touch, a swipetouch, a hovering touch, and the like.

If desired, an ultrasonic sensor may be implemented to recognizeposition information relating to a touch object using ultrasonic waves.The controller 180, for example, may calculate a position of a wavegeneration source based on information sensed by an illumination sensorand a plurality of ultrasonic sensors. Since light is much faster thanultrasonic waves, the time for which the light reaches the opticalsensor is much shorter than the time for which the ultrasonic wavereaches the ultrasonic sensor. The position of the wave generationsource may be calculated using this fact. For instance, the position ofthe wave generation source may be calculated using the time differencefrom the time that the ultrasonic wave reaches the sensor based on thelight as a reference signal.

The camera 121 typically includes at least one a camera sensor (CCD,CMOS etc.), a photo sensor (or image sensors), and a laser sensor.

Implementing the camera 121 with a laser sensor may allow detection of atouch of a physical object with respect to a 3D stereoscopic image. Thephoto sensor may be laminated on, or overlapped with, the displaydevice. The photo sensor may be configured to scan movement of thephysical object in proximity to the touch screen. In more detail, thephoto sensor may include photo diodes and transistors at rows andcolumns to scan content received at the photo sensor using an electricalsignal which changes according to the quantity of applied light. Namely,the photo sensor may calculate the coordinates of the physical objectaccording to variation of light to thus obtain position information ofthe physical object.

The display unit 151 is generally configured to output informationprocessed in the mobile terminal 100. For example, the display unit 151may display execution screen information of an application programexecuting at the mobile terminal 100 or user interface (UI) and graphicuser interface (GUI) information in response to the execution screeninformation.

In some embodiments, the display unit 151 may be implemented as astereoscopic display unit for displaying stereoscopic images.

A typical stereoscopic display unit may employ a stereoscopic displayscheme such as a stereoscopic scheme (a glass scheme), anauto-stereoscopic scheme (glassless scheme), a projection scheme(holographic scheme), or the like.

The audio output module 152 is generally configured to output audiodata. Such audio data may be obtained from any of a number of differentsources, such that the audio data may be received from the wirelesscommunication unit 110 or may have been stored in the memory 170. Theaudio data may be output during modes such as a signal reception mode, acall mode, a record mode, a voice recognition mode, a broadcastreception mode, and the like. The audio output module 152 can provideaudible output related to a particular function (e.g., a call signalreception sound, a message reception sound, etc.) performed by themobile terminal 100. The audio output module 152 may also be implementedas a receiver, a speaker, a buzzer, or the like.

A haptic module 153 can be configured to generate various tactileeffects that a user feels, perceive, or otherwise experience. A typicalexample of a tactile effect generated by the haptic module 153 isvibration. The strength, pattern and the like of the vibration generatedby the haptic module 153 can be controlled by user selection or settingby the controller. For example, the haptic module 153 may outputdifferent vibrations in a combining manner or a sequential manner.

Besides vibration, the haptic module 153 can generate various othertactile effects, including an effect by stimulation such as a pinarrangement vertically moving to contact skin, a spray force or suctionforce of air through a jet orifice or a suction opening, a touch to theskin, a contact of an electrode, electrostatic force, an effect byreproducing the sense of cold and warmth using an element that canabsorb or generate heat, and the like.

The haptic module 153 can also be implemented to allow the user to feela tactile effect through a muscle sensation such as the user's fingersor arm, as well as transferring the tactile effect through directcontact. Two or more haptic modules 153 may be provided according to theparticular configuration of the mobile terminal 100.

An optical output module 154 can output a signal for indicating an eventgeneration using light of a light source. Examples of events generatedin the mobile terminal 100 may include message reception, call signalreception, a missed call, an alarm, a schedule notice, an emailreception, information reception through an application, and the like.

A signal output by the optical output module 154 may be implemented insuch a manner that the mobile terminal emits monochromatic light orlight with a plurality of colors. The signal output may be terminated asthe mobile terminal senses that a user has checked the generated event,for example.

The interface unit 160 serves as an interface for external devices to beconnected with the mobile terminal 100. For example, the interface unit160 can receive data transmitted from an external device, receive powerto transfer to elements and components within the mobile terminal 100,or transmit internal data of the mobile terminal 100 to such externaldevice. The interface unit 160 may include wired or wireless headsetports, external power supply ports, wired or wireless data ports, memorycard ports, ports for connecting a device having an identificationmodule, audio input/output (I/O) ports, video I/O ports, earphone ports,or the like.

The identification module may be a chip that stores various informationfor authenticating authority of using the mobile terminal 100 and mayinclude a user identity module (UIM), a subscriber identity module(SIM), a universal subscriber identity module (USIM), and the like. Inaddition, the device having the identification module (also referred toherein as an “identifying device”) may take the form of a smart card.Accordingly, the identifying device can be connected with the terminal100 via the interface unit 160.

When the mobile terminal 100 is connected with an external cradle, theinterface unit 160 can serve as a passage to allow power from the cradleto be supplied to the mobile terminal 100 or may serve as a passage toallow various command signals input by the user from the cradle to betransferred to the mobile terminal there through. Various commandsignals or power input from the cradle may operate as signals forrecognizing that the mobile terminal is properly mounted on the cradle.

The memory 170 can store programs to support operations of thecontroller 180 and store input/output data (for example, phonebook,messages, still images, videos, etc.). The memory 170 may store datarelated to various patterns of vibrations and audio which are output inresponse to touch inputs on the touch screen.

The memory 170 may include one or more types of storage mediumsincluding a Flash memory, a hard disk, a solid state disk, a silicondisk, a multimedia card micro type, a card-type memory (e.g., SD or DXmemory, etc), a Random Access Memory (RAM), a Static Random AccessMemory (SRAM), a Read-Only Memory (ROM), an Electrically ErasableProgrammable Read-Only Memory (EEPROM), a Programmable Read-Only memory(PROM), a magnetic memory, a magnetic disk, an optical disk, and thelike. The mobile terminal 100 may also be operated in relation to anetwork storage device that performs the storage function of the memory170 over a network, such as the Internet.

The controller 180 may typically control the general operations of themobile terminal 100. For example, the controller 180 may set or releasea lock state for restricting a user from inputting a control commandwith respect to applications when a status of the mobile terminal meetsa preset condition.

The controller 180 can also perform the controlling and processingassociated with voice calls, data communications, video calls, and thelike, or perform pattern recognition processing to recognize ahandwriting input or a picture drawing input performed on the touchscreen as characters or images, respectively. In addition, thecontroller 180 can control one or a combination of those components inorder to implement various exemplary embodiments disclosed herein.

The power supply unit 190 receives external power or provide internalpower and supply the appropriate power required for operating respectiveelements and components included in the mobile terminal 100. The powersupply unit 190 may include a battery, which is typically rechargeableor be detachably coupled to the terminal body for charging.

The power supply unit 190 may include a connection port. The connectionport may be configured as one example of the interface unit 160 to whichan external charger for supplying power to recharge the battery iselectrically connected.

As another example, the power supply unit 190 may be configured torecharge the battery in a wireless manner without use of the connectionport. In this example, the power supply unit 190 can receive power,transferred from an external wireless power transmitter, using at leastone of an inductive coupling method which is based on magnetic inductionor a magnetic resonance coupling method which is based onelectromagnetic resonance.

Various embodiments described herein may be implemented in acomputer-readable medium, a machine-readable medium, or similar mediumusing, for example, software, hardware, or any combination thereof.

Further preferred embodiments will be described in more detail withreference to additional drawing figures. It is understood by thoseskilled in the art that the present features can be embodied in severalforms without departing from the characteristics thereof.

FIG. 2 is a flowchart for a control method of easily attaching an imagedata photographed through a camera according to one embodiment of thepresent invention. FIG. 3 is a diagram of a configuration for a controlmethod of easily attaching an image data photographed through a cameraaccording to one embodiment of the present invention. The followingdescription is made with reference to FIG. 2 and FIG. 3.

In a step S201, the controller 180 outputs a running screen of aprescribed application through the touchscreen. Referring to FIG. 3 (a),for example of the running screen, the mobile terminal 100 currentlyoutputs a running screen of an SNS (social network service) application(hereinafter named a message transceiving application) capable oftransceiving a message. The message transceiving application is theapplication capable of transceiving text, image and/or audio data withat least one receiving counterpart and is able to transceive such datausing the wireless communication unit 110.

The running screen of the message transceiving application (i.e.,example) is described in detail with reference to the running statediagram shown in FIG. 3 (a) as follows. According to the example shownin FIG. 3, a user of the mobile terminal currently transceives messageswith a counterpart ‘Jane’. This running screen includes a transceivingrecord region 300 through which transceived messages are outputted.Regarding the transceiving record region 300, left-sorted messages 302-1include the messages (hereinafter named received messages) received froma counterpart terminal by the mobile terminal 100, while right-sortedmessages 301-1 to 301-3 include the messages (hereinafter named sentmessages) sent to the counterpart terminal by the mobile terminal 100.On the running screen of the message transceiving application mentionedin the detailed description of the present invention, the sent messagesmay be indicated by the reference numbers 301-1, 301-2 . . . and thereceived messages may be indicated by the reference numbers 302-1, 302-2. . . .

In a step S202, the controller 180 can display a preview screen of thecamera on a prescribed region of the outputted running screen. Referringto FIG. 3 (b), the preview screen is outputted as a popup window 303(hereinafter named a preview popup window). In this case, the previewpopup window 303 is outputted to a prescribed region on the runningscreen of the prescribed application.

According to one embodiment of the present invention, the preview popupwindow 303 is proposed to be always outputted to the touchscreen 151 asif floating on the touchscreen 151 irrespective of an output of arunning screen of another application. For instance, a physical layerfor controlling an output of the preview popup window 303 is proposed tobe implemented not one an application stage but on a framework stage.Hence, although the preview popup window 303 is floating, a runningscreen of another application can perform an operation (e.g., an outputof information and/or an input of a touch gesture, etc.) irrespective ofthe output of the preview popup window 303.

According to one embodiment of the present invention, proposed is amethod of attaching image data to a prescribed application easily.Generally, in order to attach image data to a prescribed application, ifa camera activation command is received, a camera preview screen isoutputted by being switched from a currently outputted running screen ofan application. Subsequently, after a photo has been photographed, thecamera preview screen is switched to the previously outputted runningscreen of the application and the photographed image data is thenattached. In this process, the application previously run before thecamera activation may be temporarily run on a background or the outputof the running screen of the application previously run before thecamera activation may be temporarily paused.

Hence, according to one embodiment of the present invention, it isproposed in detail that a preview screen of a camera is outputted to aprescribed region of a running screen of a previously outputtedapplication while the corresponding running screen is outputtedintactly. Moreover, if a prescribed command is received, an image isphotographed through the camera and the photographed image data isdirectly attached to the corresponding application.

In a step S203, the controller 180 waits for a reception of anattachment command from a user. In this case, the attachment commandmeans a command, which is received from the user, for photographing animage through the activated camera and attaching the photographed imagedata to the application in direct. If the attachment command is notreceived in the step S203, the controller 180 can return to the stepS202. If the attachment command is received in the step S203, thecontroller 180 goes to a step S204.

In the step S204, the controller 180 can attach the image dataphotographed through the camera to the prescribed application.

Moreover, according to one embodiment of the present invention, if theprescribed application is a message transceiving application, thecontroller 180 can control the wireless communication unit 110 todirectly send the attached image data. In particular, according to thisembodiment, when the user intends to send the photographed image data toa message receiving counterpart, the user can send an image in a mannerof attaching the image simply and easily using a one-time attachmentcommand [Direct Attachment].

Since the image data directly photographed through the camera isattached, it may be attached (attached and then sent in the messagetransceiving application) without being checked by a user. If so,although an undesired image data is photographed, the correspondingimage data may be attached (sent) in the message transceivingapplication. In a step S204 according to another embodiment of thepresent invention, in response to the reception of the attachmentcommand, after a popup window for checking whether to send thephotographed image data has been outputted, if a user inputs a commandfor confirming whether to attach through the popup window, thephotographed image data is proposed to be attached. In case of notintending to send the photographed image data, a cancellation may bemade through the popup window [Attachment after Check].

According to one embodiment of the present invention, the controller 180may be able to distinguish the operation ‘Direct Attachment’ from theoperation ‘Attachment after Check’ through a user command by combiningthe above two embodiments together. In particular, if a 1^(st) commandis received, the controller 180 performs a photographing and is thenable to directly attach the photographed image data to an application.If a 2^(nd) command is received, the controller 180 outputs a popupwindow for attaching an image data photographed through the camera. If aconformation command is received through the outputted popup window, thecontroller 180 can attach the photographed image data to an application.For example, the 1^(st) command may include a double touch (i.e., ashort touch applied twice in a prescribed time) received through thepreview popup window 303. For example, the 2^(nd) command may include ashort touch received through the preview popup window 303.

Meanwhile, according to one embodiment of the present invention, inperforming the attachment operation in the step S204, it is proposed tochange a size of image data, which is to be attached, based on a size ofthe preview popup window 303. This shall be described with reference toFIG. 7 later. In response to a user's command or a prescribed condition,the controller 180 can change a size of the preview popup window 303. Inresponse to the reception of the attachment command, if a size of thepreview popup window 303 is a 1^(st) size, the controller 180 changes adata size of image data, which is to be attached, into a 1^(st) datasize. In response to the reception of the attachment command, if a sizeof the preview popup window 303 is a 2^(nd) size, the controller 180changes a data size of image data, which is to be attached, into a2^(nd) data size.

FIG. 3 (c) shows a running screen to which a photographed image data isattached. Referring to FIG. 3 (c), an attached image data is sent and asent message 301-4 having the image data attached thereto is displayedon the transceiving record region 300.

Meanwhile, the above-mentioned embodiment is described by taking themessage transceiving application as an example, by which the presentinvention is non-limited. And, the above-mentioned embodiment isapplicable to applications of various types. In particular, anembodiment of the present invention is applicable to an applicationcapable of a copy operation on an image data and a paste operation onthe copied image data.

Aside from the above-mentioned examples of the applications, otherexamples to which one embodiment of the present invention is applicableare described as follows.

(1) Address book (contact) application—if an attachment command isreceived on an address book application, the controller 180 photographsa photo and is then able to directly attach the photographed image dataas an image on a prescribed address book (contact) item. Alternatively,if a prescribed face is included in an image data photographed on anaddress book (or contact) application, the controller 180 searches anaddress book based on the identified corresponding face and is then ableto provide a user with a found result.

(2) Map application—if an attachment command is received on a mapapplication, the controller 180 photographs a photo and is then able tosave an image data of the photographed photo as an image datacorresponding to a prescribed location on a map. In this case, the imagedata corresponding to the prescribed location may mean an imagedisplayed in a pin shape at the prescribed location when a user readsthe corresponding map in the future.

(3) Email application—Like a message transceiving application, thecontroller 180 can attach a photographed image data to an email composedfor a receiving counterpart.

(4) Video play application—if an attachment command is received in thecourse of playing a video, the controller 180 can attach (or save) aphotographed image data in form a clip image data for a play timingpoint.

(5) Gallery application—If an attachment command is received, thecontroller 180 can control a photographed image data to be saved in thecorresponding gallery application. Particularly, if a storage structureof an image data in the gallery application is a folder type, if anattachment command is received through a corresponding folder, thecontroller 180 can save the photographed image data in the correspondingfolder by changing a storage path. Alternatively, if an attachmentcommand is received, the controller 180 searches images in the galleryapplication using the photographed image data and is then able toprovide a found result. In this case, if a face is included in thephotographed image data, the controller 180 may search for the imageincluding the corresponding face or perform the search using informationon a location at which the corresponding image data was photographed.

(6) Memo application—If an attachment command is received, thecontroller 180 photographs a photo through the camera and is then ableto directly attach an image data of the photographed photo to the memoapplication. The attached image data is handled like a single text andcan be deleted by a key button input (e.g., a backspace button input)for deleting letters.

(7) Calendar application—If an attachment command is received, thecontroller 180 photographs a photo through the camera and is then ableto add an image data of the photographed photo to a schedule.

(8) Music play application—If an attachment command is received, thecontroller 180 can set a cover photo of a currently played music. If analbum image included in an image data of a photographed photo isrecognized, the controller 180 can search for a music and/or album usingthe recognized album image.

(9) Search application (or, a case of accessing a search site on a webbrowsing application)—If an attachment command is received, thecontroller 180 attaches an image data of a photographed photo to thesearch application and is able to control a search to be performed usingthe attached image data.

(10) Other applications—If an attachment command is received, thecontroller 180 can output a popup for sharing an image data of aphotographed photo.

Meanwhile, in the aforementioned step S202, the controller 180 outputsthe preview popup window 303 of the camera. Although the preview popupwindow 303 can be outputted by the controller 180 under a prescribedcondition, it is proposed to be outputted in response to a user commandaccording to one embodiment of the present invention. One example of auser command for outputting the preview popup window 303 is described indetail with reference to FIG. 4 and FIG. 5 as follows.

FIG. 4 and FIG. 5 are diagrams for examples of a user command foroutputting a camera preview popup window 303 according to one embodimentof the present invention.

FIG. 4 (a) is a diagram for a configuration of outputting a home screen.The home screen is described in detail as follows. First of all, thehome screen can be defined as a screen initially displayed on thetouchscreen when a locked state of the touchscreen 151 is unlocked. And,at least one icon or widget for running an application or an internalfunction may be displayed on the displayed screen. At least two homescreens may exist in the mobile terminal 100 as well as one home screen.In this case, when a prescribed touch gesture is applied to thetouchscreen 151, the at least two home screens can be sequentiallydisplayed one by one. And, different icons (widgets) may be disposed onthe home screens, respectively. According to one embodiment of thepresent invention, the controller 180 outputs an icon (hereinafter nameda fast photograph icon) 401 for outputting a preview popup window 303 tothe home screen and is then able to output the preview popup window 303in response to an input 10 a of selecting the fast photograph icon 401.

Meanwhile, according to the above-described method, it is not easy tooutput the preview popup window 303 in the course of outputting arunning screen of an application. The reason for this is that the fastphotograph icon 401 should be selected after switching to the homescreen again in the course of outputting the running screen of theapplication. Therefore, according to another embodiment of the presentinvention, further proposed is a control method of outputting a previewpopup window 303 on a running screen of an application. Such anembodiment is described in detail with reference to FIG. 5 as follows.

Referring to FIG. 5 (a), the controller 180 currently outputs a runningscreen of a text message sending application through the touchscreen151. According to one embodiment of the present invention, in responseto a prescribed input received from a user, it is proposed to output apreview popup window 303 through a function (i.e., a quick launcherfunction, cf. FIG. 5 (b)) of outputting at least one run icon. A userinput for paging the quick launcher function may include an inputperformed in a manner of touching a home button 10 b and then applying adrag 10 c in a prescribed direction by maintaining the touch. If theuser input for paging the quick launcher function is received, referringto FIG. 5 (b), the controller 180 can output at least one icon includinga fast photograph icon 501.

If an input for selecting the fast photograph icon 501 is received inFIG. 5 (b), referring to FIG. 5 (c), the controller 180 can output apreview popup window 303.

The control method for paging the preview popup window 303 is describedin detail with reference to FIG. 4 and FIG. 5. In the followingdescription, a control method of controlling a preview popup window 303after outputting the preview popup window 303 is described in detailwith reference to the accompanying drawings.

FIGS. 6 to 9 are diagrams for a method of controlling a preview popupwindow 303 according to one embodiment of the present invention.

According to one embodiment of the present invention, it is proposedthat a location, size and/or transparency of the preview popup window303 can be adjusted. Since the preview popup window 303 should beoutputted to a prescribed region of a running screen of anotherapplication, the preview popup window 303 may block an output of therunning screen of the another application in part or interrupt theoutput of the running screen of the another application. Moreover,according to one embodiment of the present invention, if the mobileterminal includes a plurality of cameras, a method of facilitating aplurality of the cameras to be switched to one another is proposed.

Referring to FIG. 6 (a), a preview popup window 303 is currentlyoutputted through a running screen of a message transceivingapplication. According to one embodiment of the present invention, if auser command (hereinafter named a movement command) for moving alocation of the preview popup window 303 is received, the controller 180can control the touchscreen 151 to output the preview popup window 303in a manner of changing a location of the currently outputted previewpopup window 303.

For example, after an input of applying a touch 10 e to the outputtedpreview popup window 303 has been received, the movement command mayinclude an input of applying a drag 10 f to a desired location bymaintaining the touch 10 e.

FIG. 6 (b) is a diagram for a configuration of outputting the previewpopup window 303 shown in FIG. 6 (a) by moving the preview popup window303 in response to the movement command.

Meanwhile, according to one embodiment of the present invention, if alocation of the preview popup window 303 is moved to a prescribed cornerof the touchscreen 151, it is further proposed to control the previewpopup window 303 to be displayed as a reduced icon.

Referring to FIG. 7 (a), a preview popup window 303 is currentlyoutputted through a running screen of a message transceivingapplication. According to one embodiment of the present invention, if auser command (hereinafter named a size adjustment command) for adjustinga size of the preview popup window 303 is received, the controller 180can control the touchscreen 151 to output the preview popup window 303in a manner of changing a size of the currently outputted preview popupwindow 303.

For example, after an input of applying a touch 10 g to the outputtedpreview popup window 303 has been received, the size adjustment commandmay include an input of applying a drag 10 h to a desired location bymaintaining the touch 10 g.

FIG. 7 (b) is a diagram for a configuration of outputting the previewpopup window 303 shown in FIG. 7 (a) by adjusting to increase the sizeof the preview popup window 303 in response to the size adjustmentcommand.

Referring to FIG. 8 (a), a preview popup window 303 is currentlyoutputted through a running screen of a message transceivingapplication. According to one embodiment of the present invention, whenthe mobile terminal 100 includes a plurality of cameras, if a cameraswitching command is received, the controller 180 can control a previewscreen, which is currently outputted through the preview popup window303, to be switched to a preview screen of another camera. Inparticular, while a preview screen 801-1 of a 1^(st) camera isoutputted, if a camera switching command is received, the controller 180can control a preview screen 801-2 of a 2^(nd) camera to be outputted.

For example, the camera switching command may include an input ofapplying a flicking 10 j and 10 k to the outputted preview popup window303.

FIG. 8 (b) is a diagram for a configuration of outputting the previewpopup window 303 by switching the camera outputting the preview popupwindow 303 shown in FIG. 8 (a) to another camera in response to thecamera switching command.

Referring to FIG. 9 (a), a preview popup window 303 is currentlyoutputted through a running screen of a message transceivingapplication. According to one embodiment of the present invention, if auser command (hereinafter named a transparency adjustment command) foradjusting a transparency of the preview popup window 303 is received,the controller 180 can control the touchscreen 151 to output the previewpopup window 303 in a manner of changing a transparency of the currentlyoutputted preview popup window 303.

For example, the transparency adjustment command may include an input ofadjusting a transparency adjustment bar. According to one embodiment ofthe present invention, in order to adjust a transparency of the previewpopup window 303, it is proposed to further output a transparencyadjustment bar and a transparency adjustment object 901. And, it is alsoproposed to control the transparency by moving a location of thetransparency adjustment object 901 on the transparency adjustment bar.For example, a control command for controlling the location of thetransparency adjustment object 901 may include an input of receiving aninput of applying a touch to the outputted transparency adjustmentobject 901 and then applying a drag to a desired location by maintainingthe touch.

FIG. 9 (b) is a diagram for a configuration of outputting the previewpopup window 303 shown in FIG. 9 (a) by adjusting to increase thetransparency of the preview popup window 303 in response to thetransparency adjustment command.

Meanwhile, according to one embodiment of the present invention, animage data photographed through a camera is controlled to beautomatically cropped in response to a location and/or size of a previewpopup window 303. An operation of cropping an image means an operationof separately designating (or, selecting) a prescribed region desired bya user (or, determined on a prescribed condition) in a full image. Inparticular, a user may be able to save and/or use an image data in adesignated region of a full image by a crop operation.

FIG. 10 is a diagram for a control method of performing an auto-cropoperation based on a location and/or size of a preview popup window 303according to one embodiment of the present invention. Referring to FIG.10 (a), a preview popup window 303 is currently outputted through arunning screen of a message transceiving application. The preview popupwindow 303 is outputted through a prescribed region of the full runningscreen of the application (or, a full output region of the touchscreen).According to one embodiment of the present invention, it is proposed tocrop a portion of a whole camera image received through the camera inorder to correspond to an output region of the preview popup window 303in the full output region of the touchscreen. In particular, referringto FIG. 10 (b), it is able to create a 1^(st) auto crop image 1002-1 inorder for a full touchscreen output region and an output region of thepreview popup window 303 to correspond to a full camera image 1001 andthe 1^(st) auto crop image 1002-1, respectively.

FIG. 10 (c) is a diagram for a configuration that a location of thepreview popup window 303 shown in FIG. 10 (b) is changed. If anattachment command is received, it is able to crop a 2^(nd) auto cropimage 100-2 in a manner of photographing an image automatically throughthe camera and then cropping the photographed full camera image 1001. Inparticular, the 2^(nd) auto crop image 100-2 is cropped to correspond tothe moved location of the preview popup window 303.

Meanwhile, an image data attached (or sent) by a control methodaccording to one embodiment of the present invention can be controlledto be directly deleted without being saved separately. Yet, it isapparent to those skilled in the art that the photographed image datacan be temporarily saved in order to be attached to an application. Yet,according to one embodiment of the present invention, the object is tophotograph and attach (or send) a photographed image data quickly ratherthan to save.

A control method according to another embodiment of the presentinvention proposes that an attached (sent) image data is saved in aseparate folder (or, identified) on a gallery application. Such anembodiment is described in detail with reference to FIG. 11 as follows.

FIG. 11 is a diagram for a control method of sorting and keeping imagedata attached to a prescribed application in a separate folder accordingto one embodiment of the present invention. Referring to FIG. 11 (a), aconfiguration of running a gallery application is illustrated. Thisconfiguration includes 3 image folders ‘camera roll’, ‘panorama’ and‘photo’. According to one embodiment of the present invention, thecontroller 180 is proposed to sort and keep the data attached (sent) bythe aforementioned embodiment in the quick photo folder 1101. Meanwhile,a folder name ‘quick photo’ is just one example, by which the presentembodiment is non-limited.

FIG. 11 (b) is a diagram for a configuration that the quick photo folder1101 is entered. A list 1100 of image data attached (sent) by theaforementioned embodiment is outputted. The list 1100 shown in theexample includes 3 image data items 1102-1 to 1102-3. Each of the imagedata items can be displayed together with a type of an attachedapplication, an date and hour of the attachment, and/or a locationinformation at a timing point of the attachment.

Various embodiments may be implemented using a machine-readable mediumhaving instructions stored thereon for execution by a processor toperform various methods presented herein. Examples of possiblemachine-readable mediums include HDD (Hard Disk Drive), SSD (Solid StateDisk), SDD (Silicon Disk Drive), ROM, RAM, CD-ROM, a magnetic tape, afloppy disk, an optical data storage device, the other types of storagemediums presented herein, and combinations thereof. If desired, themachine-readable medium may be realized in the form of a carrier wave(for example, a transmission over the Internet). The processor mayinclude the controller 180 of the mobile terminal. The foregoingembodiments are merely exemplary and are not to be considered aslimiting the present disclosure. The present teachings can be readilyapplied to other types of methods and apparatuses. This description isintended to be illustrative, and not to limit the scope of the claims.Many alternatives, modifications, and variations will be apparent tothose skilled in the art. The features, structures, methods, and othercharacteristics of the exemplary embodiments described herein may becombined in various ways to obtain additional and/or alternativeexemplary embodiments. As the present features may be embodied inseveral forms without departing from the characteristics thereof, itshould also be understood that the above-described embodiments are notlimited by any of the details of the foregoing description, unlessotherwise specified, but rather should be considered broadly within itsscope as defined in the appended claims, and therefore all changes andmodifications that fall within the metes and bounds of the claims, orequivalents of such metes and bounds, are therefore intended to beembraced by the appended claims.

What is claimed is:
 1. A mobile terminal comprising: a first cameraconfigured to acquire a first preview image; a touchscreen; and acontroller configured to: display a running screen of an application onthe touchscreen, display the first preview image in a preview popupwindow together with the running screen of the application, select afirst portion of the first preview image based on at least one of alocation or a size of the preview popup window, display the firstportion of the first preview image in the preview popup window, and inresponse to an attachment command, photograph the first portion of thefirst preview image and attach the first portion of the first previewimage to the application.
 2. The mobile terminal of claim 1, wherein theentire first preview image is not saved when the first portion of thefirst preview image is attached to the application.
 3. The mobileterminal of claim 1, wherein the controller is further configured to:change the at least one of the location or the size of the preview popupwindow, select a second portion of the first preview image based on thechanged at least one of the location or the size of the preview popupwindow, and display the second portion of the first preview image in thepreview popup window.
 4. The mobile terminal of claim 3, wherein thesize of the preview popup window is changed such that the preview popupwindow is displayed on a full region of the touchscreen.
 5. The mobileterminal of claim 1, wherein the controller is further configured toincrease the size of the preview popup window in response to a draginput from the preview popup window to the running screen.
 6. The mobileterminal of claim 1, wherein the application is an address bookapplication, a map application, an email application, a video playapplication, a gallery application, a memo application, a calendarapplication, a music play application or a message application.
 7. Themobile terminal of claim 1, wherein the controller is further configuredto: in response to an input for selecting a specific button displayed onthe running screen of the application, display at least one iconincluding a photograph icon, in response to an input for selecting thedisplayed photograph icon, display the first portion of the firstpreview image in the preview popup window.
 8. The mobile terminal ofclaim 1, wherein the first portion of the first preview imagecorresponds to the at least one of the location or the size of thepreview popup window.
 9. The mobile terminal of claim 1, furthercomprising a second camera configured to acquire a second preview image,wherein the controller is further configured to: in response to a cameraswitching command, select a third portion of the second preview imagebased on the at least one of the location or the size of the previewpopup window, and display the third portion of the second preview imagein the preview popup window.
 10. A mobile terminal comprising: a firstcamera; a touchscreen; and a controller configured to: display a runningscreen of an application on the touchscreen, in response to a firstcommand, display a first preview image of the first camera in a firstwindow together with the running screen on the touchscreen, wherein afirst portion of the first preview image is selected based on at leastone of a location or a size of the first window and the first portion ofthe first preview image is displayed in the first window, in response toa second command, display the first portion of the first preview imagein a second window on the touchscreen, and in response to a thirdcommand, photograph the first portion of the first preview image andattach the first portion of the first preview image to the application.11. The mobile terminal of claim 10, wherein the controller is furtherconfigured to save the first portion of the first preview image.
 12. Themobile terminal of claim 11, wherein the first portion of the firstpreview image is saved without saving the entire first preview image.13. The mobile terminal of claim 10, wherein the controller is furtherconfigured to: in response to a fourth command, change at least one ofthe location or the size of the first window, wherein a second portionof the first preview image is selected based on the changed at least oneof the location or the size, and the second portion of the first previewimage is displayed in the first window.
 14. The mobile terminal of claim13, wherein the size of the first window is changed such that the firstwindow is displayed on a full region of the touchscreen.
 15. The mobileterminal of claim 10, wherein the controller is further configured toincrease the size of the first window in response to a drag input fromthe first window to the running screen.
 16. The mobile terminal of claim10, wherein the application is an address book application, a mapapplication, an email application, a video play application, a galleryapplication, a memo application, a calendar application, a music playapplication or a message application.
 17. The mobile terminal of claim10, wherein the first portion of the first preview image corresponds tothe at least one of the location or the size of the first window. 18.The mobile terminal of claim 10, further comprising a second cameraconfigured to acquire a second preview image, wherein the controller isfurther configured to: in response to a fifth command, select a thirdportion of the second preview image based on the at least one of thelocation or the size of the first window, wherein the third portion ofthe second preview image is displayed in the first window.